/**
 * 
 */
package com.alstudio.module.xmpp.request.proccesser.money;

import com.alstudio.module.xmpp.protocol.xmpp.util.xmlcreator.iq.money.GetMoneyHistoryIQCreator;
import com.alstudio.module.xmpp.request.ALUiXmppRequestData;
import com.alstudio.module.xmpp.request.ALUiXmppRequestInvokeCallback;

/**
 * 请求获取消费记录
 * @author alonso lee
 *
 */
public class GetUserMoneyHistoryRequestProccesser implements
		ALUiXmppRequestInvokeCallback {

	/* (non-Javadoc)
	 * @see com.alstudio.module.xmpp.request.ALUiXmppRequestInvokeCallback#getXmlData(java.lang.Object, java.lang.String)
	 */
	@Override
	public Object getXmlData(Object data, String domain) {
		// TODO Auto-generated method stub
		ALUiXmppRequestData tmp = (ALUiXmppRequestData) data;
		GetMoneyHistoryIQCreator iq = new GetMoneyHistoryIQCreator(tmp.getStartIndex(), tmp.getEndIndex(), tmp.getStrData1(), domain);
		return iq;
	}

}
